package com.itheima.service;

import com.itheima.DTO.IndexNewDTO;
import com.itheima.DTO.LoginDTO;
import com.itheima.DTO.UserYddArticlePageDTO;
import com.itheima.VO.*;

import java.util.HashMap;

public interface IndexService {
    UserLoginVO login(LoginDTO loginDTO);

    ProfileVO profile();

    HashMap<?,?> getConfig();

    YddArticleShowVO selectArticeleInfoById(Integer id);

    IndexVO selectAll();

    HotArticleVO selectHotArticle(Integer page, Integer limit);

    NewArticleVO selectNewArticle();

    RecommendArticleVO selectRecommendArticle();

    InsertPageVO page(UserYddArticlePageDTO userYddArticlePageDTO);

    BaseInfoVO baseInfo();
}
